package cn.edu.sjtu.se.dslab.service;

import java.util.List;

import cn.edu.sjtu.se.dslab.auth.User;

public interface IUserService {

	public boolean addUser(User user);

	public User getUserById(long id);

	public User getUserByUsername(String username);
	
	public User updateUser(User user);

	public User login(String username, String password);
	
	public List<User> searchUserPageBeanByProperty(String text);
}
